package tech.aistar.corejava.day08;

/**
 * Created by 李雨昂 on 2019/7/24.
 */
public class TestShape  {
    public static void main(String[] args) {
        //抽象类不允许被实例化的[不能被new]
//        Shape s = new Shape();//报错 - 防止你直接调用抽象方法
        Shape s = new Rect();
        s.girth();
    }
}
